#!/bin/sh
cd log 
filename=nfu.log

filesize=`ls -l $filename | awk '{ print $5 }'`
#maxsize=$((1024*10))
maxsize=$((430))
if [ $filesize -gt $maxsize ]
then
#echo "$filesize > $maxsize"
    mv ${filename}  nfu"`date +%Y%m%d_%H%M%S`".log
#else 
#echo "$filesize < $maxsize"
fi